// FetionWindow.h
// Heihaier <admin@heihaier.org>
// http://www.heihaier.org

#ifndef __FETION_WINDOW_H__
#define __FETION_WINDOW_H__

#include <gtkmm.h>
#include <libfetion.h>
#include "FetionStatusIcon.h"
#include "FetionMainBox.h"

class FetionWindow : public Gtk::Window
{
public:
	FetionWindow();
	~FetionWindow();

	sigc::signal <void, int, WPARAM, LPARAM> signal_system_msg;
	sigc::signal <void> signal_login_ok;
private:
	FetionStatusIcon * m_pFetionStatusIcon;
	FetionMainBox * m_pFetionMainBox;

	void on_system_msg(int message, WPARAM wParam, LPARAM lParam);
	void on_login_ok();
};

#endif // __FETION_WINDOW_H__
